package com.hdjd.dao;

import com.hdjd.entities.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderDao {

    /**
     * 根据订单Id删除订单
     * @param ordId
     * @return
     */
    int deleteByPrimaryKey(@Param("ordId") Integer ordId);

    int insert(Order record);

    int insertSelective(Order record);

    /**
     * 根据订单Id查询订单信息
     * @param ordId
     * @return
     */
    Order selectByPrimaryKey(@Param("ordId") Integer ordId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
}